#include "cvxCornerDetect.h"
#include "cvxSf.h"
#include <time.h>
#include "tCCamera.h"
using cvx::RgbImage;
using cvx::BwImage;

#if 1
int main()
{
//	TEST_CAMERA::testCalibrationFrom8Points();
//	TEST_CAMERA::testGetChessboard();
//	TEST_CAMERA::testCvCapture();
//	TEST_CAMERA::testCheckConcentricCircles();
//	TEST_CAMERA::testCheckConcentricCirclesWhole();
//	TEST_CAMERA::testMarkerDetector();
//	TEST_CAMERA::testMarkerTracking();
//	TEST_CAMERA::testMarkerCreate();
//	TEST_CAMERA::testMarkerWithConcentricCirciles();
//	TEST_CAMERA::testSubAreaFromParallelogram();
//	TEST_CAMERA::testConcentricCenterFromMultipSeeds();
//	TEST_CAMERA::testCpuConcentricDetection();
//	TEST_CAMERA::testMarkerTrackingInSubarea();
//	TEST_CAMERA::testConcentricCircleCentersWithMarkerTracking();
//	TEST_CAMERA::testHarrWaveletTransform();
//	TEST_CAMERA::testConcentricFromVideo();
//	TEST_CAMERA::testCvxCameraRigRead();
//	TEST_CAMERA::testCvxCameraRig16points();
//	TEST_CAMERA::testMatlabExtrinsic();
//	TEST_CAMERA::testCvxCameraRig16points();
//	TEST_CAMERA::testcvxAlignment();
//	TEST_CAMERA::testParameterError();
//	TEST_CAMERA::testRotationAngle();
//	TEST_CAMERA::testValidAreaCorner();
//	TEST_CAMERA::testUndistortion();
//	TEST_CAMERA::testKeystone();
//	TEST_CAMERA::testMCCBoard();
//	TEST_CAMERA::testChessboardTime();
//	TEST_CAMERA::testChessboardFromVideo();
//	TEST_CAMERA::testHomographyError();
//	TEST_CAMERA::testChessboardVideo();
//	TEST_CAMERA::testClearMarkVideo();
//	TEST_CAMERA::testStageDivision();
//	TEST_CAMERA::testRandomSelection();
//	TEST_CAMERA::testGetEularAngleInSphereCoor();
//	TEST_CAMERA::testBundleAdjustLinear();
//	TEST_CAMERA::testBundleAdjustNonLinear();
//	TEST_CAMERA::testBundleAdjust3DLinear();
//	TEST_CAMERA::testEulerAngleFromExtrinsic();
//	TEST_CAMERA::testANN();
//	TEST_CAMERA::testAutoSelection();	
//	TEST_CAMERA::testKFCalib();
//	TEST_CAMERA::testCvxMarkerChessboard();
//	TEST_CAMERA::testGetEulerAngle();
//	TEST_CAMERA::testGetOrientationFromMakerChessboard();
//	TEST_CAMERA::testMarkerChessboardFromVideo();
//	TEST_CAMERA::testKFCalibForMarkerChessboard();
//	TEST_CAMERA::testCanonicalWarp();
//	TEST_CAMERA::testIterativeRefine();
//	TEST_CAMERA::testMarkerInside();
//	TEST_CAMERA::testMarkerChessboardExp();
//	TEST_CAMERA::TestCvxDKKCamera();
//	TEST_CAMERA::TestWriteCorner2Video();
//	TEST_CAMERA::TestConstantWithImageSize();
//	TEST_CAMERA::TestCheckIntrinsic();
//	TEST_CAMERA::TestRectifyImages();
//	TEST_CAMERA::TestRectifyUnbalibrated();
	TEST_CAMERA::TestSiftFeature();
//	TEST_CAMERA::TestRedCyanImage();
//	TEST_CAMERA::TestWithGroudTruth();
//	TEST_CAMERA::TestMovFile();
//	TEST_CAMERA::testUndistortionPoints();
	TEST_CAMERA::testMarkerChessboard();

	cvWaitKey(0);

	return 1;
}
#endif